package com.ruoyi.car.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author : Li
 * @date : 2024-08-21 10:37
 * @description :
 **/
@Configuration
public class WebSocketConfig {

    /**
     * @Description: webscoket的配置
     * @Author: 李紫颖
     * @Date: 2024/8/21 10:38

     * @return: org.springframework.web.socket.server.standard.ServerEndpointExporter
     *
     */
    @Bean
    public ServerEndpointExporter serverEndpointExporter(){
        return new ServerEndpointExporter();
    }
}
